<div class="h_menu" style="margin-top: -18px;">
					
	<div class="h_menu_title"><a class="" href="#"><?php echo $category; ?></a></div>
	<div style="height:2px;">&nbsp;</div>
</div>
<?php echo$form->create('Search', array('url' => '/products/dataSearch'))?>
	<div class="">	
		<div class=" ">
			<?php echo$form->input('Search.name', array('id' => 'product', 'class' => 'postform','empty' => 'Tất cả ','label' => 'Tìm sản phẩm:', 'div' => false))?>
			<?php echo$form->submit('Apply', array('id' => 'post-query-submit', 'class' => 'button-secondary', 'div' => false))?>
		</div>
		<div class="">
			<span class=""><?php echo $paginator->counter(array( 'format' => 'Hiển thị %start%-%end% trong số %count% sản phẩm')); ?></span>
			<?php
				echo $paginator->options(array('url' => $this->passedArgs));
				echo $paginator->prev('« ', array('class' => 'prev page-numbers'));
				echo ' '.$paginator->numbers(array('class' => 'page-numbers', 'separator' => ' ', 'modulus' => '5')).' ';
				echo $paginator->next(' »', array('class' => 'next page-numbers'));
			?>
		</div>
	</div>
	<?php echo$form->end()?>
	<div class="span-4 last" style="margin:5px">
	<?php
	foreach ($products as $product)
	{
	?>
		
		<div class="end_div_center span-4 last" style="background-image:url(<?php echo $html->url('/img/title_image_center2.gif')?>); width:515px;">
			<a class="row-title" href="<?php echo $html->url('product/'.$product['Product']['id'])?>" title="<?php echo$product['Product']['name']?>" style="color:white; text-decoration: none">
				<span style="margin-left:10px;"><?php echo $product['Product']['name']?></span>
			</a>
		</div>
		<div class="product-item span-4 last" style="width: 512px;">
			<div class="span-1">
				<a href="<?php echo $html->url('product/' . $product['Product']['id'])?>">
				<?php echo $html->image($product['Product']['images'], array('style'=>'width:100px; margin-top: 5px;'))?>
				</a>
			</div>
			<div class="span-2 last" style="width: 380px;">
				Giá:<span class="product-item-price" style="color:#FF0;"> <?php echo$product['Product']['price']?> </span><br/>
				Mô tả: <br/><?php echo $util->truncate($product['Product']['description'], 200);?>
			</div>
		</div>
		<div class="end_div_center span-4 last" style="background-image:url(<?php echo $html->url('/img/end_div_center2.gif')?>); width:515px; text-align: right;">
			<a style="color:white; text-decoration: none;" href="<?php echo $html->url('product/' . $product['Product']['id'])?>">
				<span style="margin-right: 10px; font-weight: bold;">Chi tiết &gt;&gt;</span>
			</a>
		</div>
		<div class="span-4 last" style="font-size:10px;">
			&nbsp;
		</div>
	<?php 
	} // end foreach
	?>
	</div>
	<!-- bof tablenav -->
	<div class="tablenav">
		<div class="tablenav-pages">
			<span class="displaying-num"><?php echo $paginator->counter(array( 'format' => 'Hiển thị %start%-%end% trong số %count% sản phẩm')); ?></span>
			<?php
				echo $paginator->prev('«', array('class' => 'prev page-numbers'));
				echo ' '.$paginator->numbers(array('class' => 'page-numbers', 'separator' => ' ', 'modulus' => '5')).' ';
				echo $paginator->next('»', array('class' => 'next page-numbers'));
			?>
		</div>
	</div>
	<!-- eof tablenav -->